Skip to content

[DNM][HUDI-9030] Run Azure CI with table version 6#12852

Closed
lokeshj1703 wants to merge 9 commits into
apache:masterfrom
lokeshj1703:HUDI-9030
Closed

[DNM][HUDI-9030] Run Azure CI with table version 6#12852
lokeshj1703 wants to merge 9 commits into
apache:masterfrom
lokeshj1703:HUDI-9030

Conversation

@lokeshj1703
Copy link
Copy Markdown
Collaborator

Change Logs

Describe context and summary for this change. Highlight if any code was copied.

Impact

Describe any public API or user-facing feature change or any performance impact.

Risk level (write none, low medium or high below)

If medium or high, explain what verification was done to mitigate the risks.

Documentation Update

Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".

  • The config description must be updated if new configs are added or the default value of the configs are changed
  • Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
    ticket number here and follow the instruction to make
    changes to the website.

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@github-actions github-actions Bot added the size:XS PR with lines of changes in <= 10 label Feb 19, 2025
@github-actions github-actions Bot added size:M PR with lines of changes in (100, 300] and removed size:XS PR with lines of changes in <= 10 labels Feb 20, 2025
@github-actions github-actions Bot added size:L PR with lines of changes in (300, 1000] and removed size:M PR with lines of changes in (100, 300] labels Feb 25, 2025
@nsivabalan
Copy link
Copy Markdown
Contributor

May I know why the CI is still failing.

We are just focusing on few test classes right
in those tests, if some test is not end to end functional, but is manipulating some table /timeline state, lets disable that test.
Our goal for the chosen 15 to 20 test classes, we should get all green.
and entire CI should be green since other test classes are not touched.

public static final ConfigProperty<Integer> WRITE_TABLE_VERSION = ConfigProperty
.key("hoodie.write.table.version")
.defaultValue(HoodieTableVersion.current().versionCode())
.defaultValue(HoodieTableVersion.SIX.versionCode())
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, now I see why CI is failing.

Lets keep this as 8. But only in those 15 to 20 odd tests classes, we can add option to override "hoodie.write.table.version"

So, that we can still expect a green CI for rest of test classes.

val INCREMENTAL_FALLBACK_TO_FULL_TABLE_SCAN: ConfigProperty[String] = ConfigProperty
.key("hoodie.datasource.read.incr.fallback.fulltablescan.enable")
.defaultValue("true")
.defaultValue("false")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whats the relationship of this config to the table version?
can you help me understand.

Copy link
Copy Markdown
Contributor

@nsivabalan nsivabalan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left some comments.

// remove metadata columns so that expected and actual DFs can be compared as is
val trimmedDf1 = dropMetaFields(snapshotDF1)
assert(df1.except(trimmedDf1).count() == 0)
//assert(df1.except(trimmedDf1).count() == 0)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why commenting out the assertions?

@hudi-bot
Copy link
Copy Markdown
Collaborator

hudi-bot commented Mar 8, 2025

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@yihua
Copy link
Copy Markdown
Contributor

yihua commented Mar 17, 2025

Closing the testing-only PR.

@yihua yihua closed this Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L PR with lines of changes in (300, 1000]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants